home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / exec / execbase.i < prev    next >
Text File  |  1987-03-31  |  6KB  |  157 lines

  1.     IFND EXEC_EXECBASE_I
  2. EXEC_EXECBASE_I SET 1
  3. **********************************************************************
  4. *
  5. *   Commodore Amiga -- ROM Operating System Executive Include File
  6. *
  7. **********************************************************************
  8. *
  9. *   Source Control:
  10. *
  11. *       $Header: execbase.i,v 33.3 86/05/01 12:50:39 neil Exp $
  12. *
  13. *       $Locker:  $
  14. *
  15. **********************************************************************
  16.  
  17.     IFND EXEC_TYPES_I
  18.     INCLUDE "exec/types.i"
  19.     ENDC !EXEC_TYPES_I
  20.  
  21.     IFND EXEC_LISTS_I
  22.     INCLUDE "exec/lists.i"
  23.     ENDC !EXEC_LISTS_I
  24.  
  25.     IFND EXEC_INTERRUPTS_I
  26.     INCLUDE "exec/interrupts.i"
  27.     ENDC !EXEC_INTERRUPTS_I
  28.  
  29.     IFND EXEC_LIBRARIES_I
  30.     INCLUDE "exec/libraries.i"
  31.     ENDC !EXEC_LIBRARIES_I
  32.  
  33.  
  34. ******* Static System Variables **************************************
  35.  
  36.  STRUCTURE  ExecBase,LIB_SIZE           ; Standard library node
  37.  
  38.             UWORD       SoftVer         ; kickstart release number
  39.             WORD        LowMemChkSum    ; checksum of 68000 trap vectors
  40.             ULONG       ChkBase         ; system base pointer complement
  41.             APTR        ColdCapture     ; cold soft capture vector
  42.             APTR        CoolCapture     ; cool soft capture vector
  43.             APTR        WarmCapture     ; warm soft capture vector
  44.             APTR        SysStkUpper     ; system stack base   (upper bound)
  45.             APTR        SysStkLower     ; top of system stack (lower bound)
  46.             ULONG       MaxLocMem       ; last calculated local memory max
  47.             APTR        DebugEntry      ; global debugger entry point
  48.             APTR        DebugData       ; global debugger data segment
  49.             APTR        AlertData       ; alert data segment
  50.             APTR        MaxExtMem       ; top of extended mem, or null if none
  51.  
  52.             WORD        ChkSum          ; for all of the above
  53.  
  54.  
  55. ******* Interrupt Related ********************************************
  56.  
  57.             LABEL       IntVects  
  58.             STRUCT      IVTBE,IV_SIZE
  59.             STRUCT      IVDSKBLK,IV_SIZE
  60.             STRUCT      IVSOFTINT,IV_SIZE
  61.             STRUCT      IVPORTS,IV_SIZE
  62.             STRUCT      IVCOPER,IV_SIZE
  63.             STRUCT      IVVERTB,IV_SIZE
  64.             STRUCT      IVBLIT,IV_SIZE
  65.             STRUCT      IVAUD0,IV_SIZE
  66.             STRUCT      IVAUD1,IV_SIZE
  67.             STRUCT      IVAUD2,IV_SIZE
  68.             STRUCT      IVAUD3,IV_SIZE
  69.             STRUCT      IVRBF,IV_SIZE
  70.             STRUCT      IVDSKSYNC,IV_SIZE
  71.             STRUCT      IVEXTER,IV_SIZE
  72.             STRUCT      IVINTEN,IV_SIZE
  73.             STRUCT      IVNMI,IV_SIZE
  74.  
  75.  
  76. ******* Dynamic System Variables *************************************
  77.  
  78.             APTR        ThisTask        ; pointer to current task
  79.             ULONG       IdleCount       ; idle counter
  80.             ULONG       DispCount       ; dispatch counter
  81.             UWORD       Quantum         ; time slice quantum
  82.             UWORD       Elapsed         ; current quantum ticks
  83.             UWORD       SysFlags        ; misc system flags
  84.             BYTE        IDNestCnt       ; interrupt disable nesting count
  85.             BYTE        TDNestCnt       ; task disable nesting count
  86.  
  87.             UWORD       AttnFlags       ; special attention flags
  88.             UWORD       AttnResched     ; rescheduling attention
  89.             APTR        ResModules      ; pointer to resident module array
  90.  
  91.             APTR        TaskTrapCode    ; default task trap routine
  92.             APTR        TaskExceptCode  ; default task exception code
  93.             APTR        TaskExitCode    ; default task exit code
  94.             ULONG       TaskSigAlloc    ; preallocated signal mask
  95.             UWORD       TaskTrapAlloc   ; preallocated trap mask
  96.  
  97.  
  98. ******* System List Headers ******************************************
  99.  
  100.             STRUCT      MemList,LH_SIZE
  101.             STRUCT      ResourceList,LH_SIZE
  102.             STRUCT      DeviceList,LH_SIZE
  103.             STRUCT      IntrList,LH_SIZE
  104.             STRUCT      LibList,LH_SIZE
  105.             STRUCT      PortList,LH_SIZE
  106.             STRUCT      TaskReady,LH_SIZE
  107.             STRUCT      TaskWait,LH_SIZE
  108.  
  109.             STRUCT      SoftInts,SH_SIZE*5
  110.  
  111.             STRUCT      LastAlert,4*4
  112.  
  113.  
  114.             ;------ these next two variables are provided to allow
  115.             ;------ system developers to have a rough idea of the
  116.             ;------ period of two externally controlled signals --
  117.             ;------ the time between vertical blank interrupts and the
  118.             ;------ external line rate (which is counted by CIA A's
  119.             ;------ "time of day" clock).  In general these values
  120.             ;------ will be 50 or 60, and may or may not track each
  121.             ;------ other.  These values replace the obsolete AFB_PAL
  122.             ;------ and AFB_50HZ flags.
  123.             UBYTE       VBlankFrequency
  124.             UBYTE       PowerSupplyFrequency
  125.  
  126.             STRUCT      SemaphoreList,LH_SIZE
  127.  
  128.             ;------ these next two are to be able to kickstart into user ram.
  129.             ;------ KickMemPtr holds a singly linked list of MemLists which
  130.             ;------ will be removed from the memory list via AllocAbs.  If
  131.             ;------ all the AllocAbs's succeeded, then the KickTagPtr will
  132.             ;------ be added to the rom tag list.
  133.             APTR        KickMemPtr      ; ptr to queue of mem lists
  134.             APTR        KickTagPtr      ; ptr to rom tag queue
  135.             APTR        KickCheckSum    ; checksum for mem and tags
  136.  
  137.             STRUCT      ExecBaseReserved,10
  138.             STRUCT      ExecBaseNewReserved,20
  139.  
  140.             LABEL       SYSBASESIZE
  141.  
  142. ******* AttnFlags
  143. *  Processors and Co-processors:
  144.         BITDEF  AF,68010,0      ; also set for 68020
  145.         BITDEF  AF,68020,1
  146.         BITDEF  AF,68881,4
  147.  
  148. ; These two bits used to be AFB_PAL and AFB_50HZ.  After some soul
  149. ; searching we realized that they were misnomers, and the information
  150. ; is now kept in VBlankFrequency and PowerSupplyFrequency above.
  151. ; To find out what sort of video conversion is done, look in the
  152. ; graphics subsytem.
  153.         BITDEF  AF,RESERVED8,8
  154.         BITDEF  AF,RESERVED9,9
  155.  
  156.     ENDC !EXEC_EXECBASE_I
  157.